<+b_dialog dialog_title="Trim Video Clip" dw=903 dialog_space=0>

<img src=images/button_play.png save=play>
<img src=images/button_pause.png save=pause>
<img src=images/button_stop.png save=stop>
<img src=images/button_start.png save=start>
<img src=images/button_end.png save=end>
<img src=images/button_previous.png save=previous>
<img src=images/button_next.png save=next>

<img bgcolor=#colorToolbar width=120 height=20 save=tempStart>
<img src=#tempStart i_text="start frame" i_textjust=left i_textleft=4 i_textcol=#colorIcon i_textsize=14 i_textweight=900 i_textshadowopacity=0 save=#tempStart>

<img bgcolor=#colorToolbar width=120 height=20 save=tempEnd>
<img src=#tempEnd i_text="end frame" i_textjust=left i_textleft=4  i_textcol=#colorIcon i_textsize=14 i_textweight=900 i_textshadowopacity=0 save=#tempEnd>

<img bgcolor=#colorToolbar width=165 height=20 save=tempPreview>
<img src=#tempPreview i_text="preview" i_textjust=left i_textleft=4  i_textcol=#colorIcon i_textsize=14 i_textweight=900 i_textshadowopacity=0 save=#tempPreview>

<input type=custom name=videoTimeLine width=#dw height=180><br>
<table>
<tr>
	<td width=#dw bgcolor=#colorDialog align=center>
		<input type=slider name=videoScroll offset=0 drange=99.0 bgcolor=#colorDialog scrolltype= horz=1 width=#dw-20 range=100 page=10 step=1 ascent=10 alt="Scroll through\nvideo samples">
	</td>
</tr>
</table>
<img src=#line width=#dw height=2><br>
<img height=10>
<table cellspacing=0>
<tr>
	<td width=10></td>
	<td bgcolor=#colorToolbar>
		<input type=custom name=preview width=288 height=216><br>
		<img src=#tempPreview>
		<input type=button name=play toolbar=1 width=30 height=20 xpar=#play grayxpar=#play img=#fake grayImg=#fake fgcolor=#colorIcon fgcolorover=#colorSelection graycolor=#colorToolbarIconGrey bgcolor=#colorToolbar  nofade=1 alt="Play the video." ascent=20>
		<input type=button name=resume toolbar=1 width=30 height=20 xpar=#pause grayxpar=#pause img=#fake grayImg=#fake fgcolor=#colorIcon fgcolorover=#colorSelection graycolor=#colorToolbarIconGrey bgcolor=#colorToolbar  nofade=1 alt="Pause playback, or resume playback while paused." ascent=20>
		<input type=button name=stop toolbar=1 width=30 height=20 xpar=#stop grayxpar=#stop img=#fake grayImg=#fake fgcolor=#colorIcon fgcolorover=#colorSelection graycolor=#colorToolbarIconGrey bgcolor=#colorToolbar nofade=1 alt="Stop playback and return to the starting point." ascent=20>
		<input type=button name=resetTime toolbar=1 width=20 height=20 xpar=#reset grayxpar=#reset img=#fake grayImg=#fake fgcolor=#colorIcon fgcolorover=#colorSelection graycolor=#colorToolbarIconGrey bgcolor=#colorToolbar  nofade=1 alt="Reset time" ascent=20><br>
		<input type=custom name=previewFrameTime width=288 height=20><br>

	</td>
	<td width=#ds></td>
	<td bgcolor=#colorToolbar>
		<input type=custom name=frameStart width=288 height=216><br>
		<img src=#tempStart>
		<input type=text name=start width=76 height=18 alt="Start position" ascent=19>
		<input type=button name=prevFrameStart toolbar=1 width=30 height=20 xpar=#previous grayxpar=#previous img=#fake grayImg=#fake fgcolor=#colorIcon fgcolorover=#colorSelection graycolor=#colorToolbarIconGrey bgcolor=#colorToolbar nofade=1 alt="Previous frame" ascent=20>
		<input type=button name=nextFrameStart toolbar=1 width=30 height=20 xpar=#next grayxpar=#next img=#fake grayImg=#fake fgcolor=#colorIcon fgcolorover=#colorSelection graycolor=#colorToolbarIconGrey bgcolor=#colorToolbar nofade=1 alt="Next frame" ascent=20>
		<input type=button name=startHere toolbar=1 width=30 height=20 xpar=#start grayxpar=#start img=#fake grayImg=#fake fgcolor=#colorIcon fgcolorover=#colorSelection graycolor=#colorToolbarIconGrey bgcolor=#colorToolbar  nofade=1 alt="Set the starting time to the current position while playing or paused." ascent=20><br>
		<input type=custom name=startFrameTime width=288 height=20><br>
	</td>
	<td width=#ds></td>
	<td bgcolor=#colorToolbar>
		<input type=custom name=frameEnd width=288 height=216><br>
		<img src=#tempEnd>
		<input type=text name=end width=76 height=18 alt="End position" ascent=19>
		<input type=button name=prevFrameEnd toolbar=1 width=30 height=20 xpar=#previous grayxpar=#previous img=#fake grayImg=#fake fgcolor=#colorIcon fgcolorover=#colorSelection graycolor=#colorToolbarIconGrey bgcolor=#colorToolbar nofade=1 alt="Previous frame" ascent=20>
		<input type=button name=nextFrameEnd toolbar=1 width=30 height=20 xpar=#next grayxpar=#next img=#fake grayImg=#fake fgcolor=#colorIcon fgcolorover=#colorSelection graycolor=#colorToolbarIconGrey bgcolor=#colorToolbar nofade=1 alt="Next frame" ascent=20>
		<input type=button name=endHere toolbar=1 width=30 height=20 xpar=#end grayxpar=#end img=#fake grayImg=#fake fgcolor=#colorIcon fgcolorover=#colorSelection graycolor=#colorToolbarIconGrey bgcolor=#colorToolbar nofade=1 alt="Set the ending time to the current position while playing or paused." ascent=20><br>
		<input type=custom name=endFrameTime width=288 height=20><br>
	</td>
</tr>
</table>
<img height=10>
<+d_dialog dialog_linespace=0>
<table>
<tr>
	<td width=#dw-535>
		<variable name=fileName></variable><br>
		
		<table>
		<tr>
			<td>Length: <variable name=length></variable></td>
			<td width=30></td>
			<td>Trimmed to:&nbsp;</td>
			<td><input type=label name=trimmedLength width=120 height=14></td>
		</tr>
		</table>
	</td>
	<td width=320 align=left>
		<img height=4>
		<table>
		<tr>
			<td width=50 align=right><img height=3><br>Zoom</td>
			<td width=#ds></td>
			<td>
			<input type=slider name=videoZoomScroll assoc=videoZoomEdit bgcolor=#colorDialog offset=0 drange=100.0 scrolltype= horz=1 width=240 range=100 page=10 step=1 ascent=10 alt="Zoom in or out">
			</td>
		</tr>
		</table>
	</td>
	<td align=right width=190>
		<input type=button name=ok value="Ok" width=80 height=#dbh  bgcolor=#colorSelection textcolor=#colorSelectionText>
		<img width=#ds>
		<input type=button name=cancel value="Cancel" width=80 height=#dbh>
	</td>
</tr>
</table>

<+e_dialog>	
				
